package com.spboot.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.spboot.entity.Moddletable;
import com.spboot.mapper.ModdletableMapper;
import com.spboot.service.ModdletableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
@Service
public class ModdletableServiceImpl extends ServiceImpl<ModdletableMapper, Moddletable> implements ModdletableService {

    @Override
    public Integer selecttableid(Long informationid, Long editionid, Long colorid, Long priceid) {
        return this.baseMapper.selecttableid(informationid, editionid, colorid, priceid);
    }

    @Override
    public IPage<Moddletable> likeall(Integer userid, IPage<Moddletable> page, Wrapper<Moddletable> paramWrapper) {
        return this.baseMapper.likeall(userid, page, paramWrapper);
    }
}
